* Switch *
**********/
-GtkSwitch {
- -GtkSwitch-slider-width: 45px; // 55px is the right value to make it as tall
- // as buttons, not doing that for now
- -GtkSwitch-slider-height: 27px;
-}
-
switch {
+ @at-root * {
+ -GtkSwitch-slider-width: 45px;
+ -GtkSwitch-slider-height: 27px;
+ }
+
font-weight: bold;
font-size: smaller;
outline-offset: -4px;
/**********
* Switch *
**********/
-GtkSwitch {
- -GtkSwitch-slider-width: 45px;
- -GtkSwitch-slider-height: 27px; }
-
switch {
font-weight: bold;
font-size: smaller;
color: #eeeeec;
background-image: linear-gradient(to bottom, #2d3232);
text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+ * {
+ -GtkSwitch-slider-width: 45px;
+ -GtkSwitch-slider-height: 27px; }
switch:active {
background-image: linear-gradient(to bottom, #215d9c 2px, #266cb5);
color: white;
/**********
* Switch *
**********/
-GtkSwitch {
- -GtkSwitch-slider-width: 45px;
- -GtkSwitch-slider-height: 27px; }
-
switch {
font-weight: bold;
font-size: smaller;
color: #2e3436;
background-image: linear-gradient(to bottom, #cfcfcf);
text-shadow: 0 1px rgba(0, 0, 0, 0.1); }
+ * {
+ -GtkSwitch-slider-width: 45px;
+ -GtkSwitch-slider-height: 27px; }
switch:active {
background-image: linear-gradient(to bottom, #4a90d9 2px, #63a0de);
color: white;